unit URetrievePassword;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;

type
  TfrmRetrievePassword = class(TForm)
    Label1: TLabel;
    Label2: TLabel;
    Edit1: TEdit;
    Edit2: TEdit;
    Label3: TLabel;
    Edit3: TEdit;
    Button1: TButton;
    Label4: TLabel;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

function EnterRetrievePassword(entcode,usercode:string):boolean;

var
  frmRetrievePassword: TfrmRetrievePassword;

implementation

{$R *.dfm}

function EnterRetrievePassword(entcode,usercode:string):boolean;
begin
  result:=false;
  with TfrmRetrievePassword.Create(nil) do
  begin
      edit1.text:=entcode;
      edit2.Text:=usercode;
      result :=showmodal=mrok;
  end;
end;
procedure TfrmRetrievePassword.Button1Click(Sender: TObject);
begin
  abort;
end;

end.
